package com.test.springboot.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class HelloController {
//    @Autowired
//    private HostIp hostIp;

    @RequestMapping("index.html")
    @ResponseBody
    public String hello() {
     //   System.out.println(hostIp);
        return "hello.jsp";
    }
}
